Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mw_ APIs for SOECPotential and SOECPComponent #4504

Merged
merged 20 commits into from
Mar 10, 2023

Conversation

camelto2
Copy link
Contributor

@camelto2 camelto2 commented Mar 9, 2023

Please review the developer documentation
on the wiki of this project that contains help and requirements.

Proposed changes

This PR add mw_ APIs for the SOECPotential and components, so now running in the batched code doesn't have to fall back to the single walker APIs. While designing the unit test, I also did a bit of refactoring in the potential and component classes. Also, a new standalone unit test was added similar to test_NonLocalECPotential.

part of #3712, finishes the last bullet point

What type(s) of changes does this code introduce?

Delete the items that do not apply

  • New feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

my M1 mac

Checklist

Update the following with a yes where the items apply. If you're unsure about any of them, don't hesitate to ask. This is
simply a reminder of what we are going to look for before merging your code.

  • Yes. This PR is up to date with current the current state of 'develop'
  • Yes. Code added or changed in the PR has been clang-formatted
  • Yes. This PR adds tests to cover any new code, or to catch a bug that is being fixed
  • No. Documentation has been added (if appropriate)

///neighborlist of ions
NeighborLists IonNeighborElecs;
NeighborLists IonNeighborElecs_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put all the variable names in lower case. IonNeighborElecs_-> ion_neighbor_elecs_ to be compliant with up-to-date naming convention.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ye-luo
Copy link
Contributor

ye-luo commented Mar 10, 2023

Test this please

@ye-luo ye-luo enabled auto-merge March 10, 2023 03:11
@ye-luo ye-luo merged commit 98c8f2d into QMCPACK:develop Mar 10, 2023
@camelto2 camelto2 deleted the mw_APIs_for_SOECP branch March 16, 2023 23:02
@prckent prckent mentioned this pull request Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants